package com.anlu.base.jdk.jdk21;

import java.util.concurrent.ThreadFactory;

public class VirtualThreadTest {
//    public static void main(String[] args) {
//        CustomThread customThread = new CustomThread();
//        Thread.startVirtualThread(customThread);
//    }
//
//
//    static void test1(){
//        CustomThread customThread = new CustomThread();
//        ThreadFactory factory = Thread.ofVirtual().factory();
//        Thread thread = factory.newThread(customThread);
//        thread.start();
//    }
}


